package com.example.springboottestgit.bean.dto;

import lombok.Data;

import java.util.List;

/**
 * @description:
 * @author: ZZZ
 */
@Data
public class LawDTO {

    //项目编号
    private String projectNumber;

    private String purchaseMode;
    private String 采购方式;

    private List<PurchasePackageDTO> 保证金;
    private List<PurchasePackageDTO> marginList;

    private String 招标公告期限;
    private String tbNoticeTerm;

    private String 投标有效期;
    private String tbExpire;

    private String 合同签订时限;
    private String ContractTimeLimit;

    private String 质疑时效期间;
    private String zbQueryPeriod;

    private String 追加采购金额;
    private String addPurchaseAmount;

    private String 未中标退还保证金;
    private String failTenderBackMargin;

    private String 中标退还保证金;
    private String winTenderBackMargin;

    private String 撤标退还保证金;
    private String withdrawTenderBackMargin;

    private String 澄清或修改的时限;
    private String inviteTendersChangeNotice;

    private List<PurchasePackageDTO> 资格审查;
    private List<PurchasePackageDTO> qualificationReview;

    private List<PurchasePackageDTO> 履约保证金;
    private List<PurchasePackageDTO> promiseMargin;

    private String 中标公告;
    private String winTenderNotice;

    private String 安置残疾人比例;
    private String placementDisabledPeopleProportion;


    public LawDTO(String projectNumber, String purchaseMode, String 采购方式, List<PurchasePackageDTO> 保证金, List<PurchasePackageDTO> marginList, String 招标公告期限, String tbNoticeTerm,
                  String 投标有效期, String tbExpireService, String 合同签订时限, String contractTimeLimit, String 质疑时效期间, String zbQueryPeriod, String 追加采购金额, String addPurchaseAmount,
                  String 未中标退还保证金, String failTenderBackMargin, String 中标退还保证金, String winTenderBackMargin,
                  String 澄清或修改的时限, String inviteTendersChangeNotice, List<PurchasePackageDTO> 资格审查, List<PurchasePackageDTO> qualificationReview, List<PurchasePackageDTO> 履约保证金, List<PurchasePackageDTO> promiseMargin, String 中标公告, String winTenderNotice,
                  String 撤标退还保证金, String 安置残疾人比例
    ) {
        this.purchaseMode = 采购方式;
        this.projectNumber = projectNumber;
        this.marginList = 保证金;
        this.tbNoticeTerm = 招标公告期限;
        this.tbExpire = 投标有效期.replace("。","");
        this.ContractTimeLimit = 合同签订时限.replace("。","");
        this.zbQueryPeriod = 质疑时效期间;
        this.addPurchaseAmount = 追加采购金额;
        this.failTenderBackMargin = 未中标退还保证金.replace("。","");
        this.winTenderBackMargin = 中标退还保证金;
        this.inviteTendersChangeNotice = 澄清或修改的时限;
        this.qualificationReview = 资格审查;
        this.promiseMargin = 履约保证金;
        this.winTenderNotice = 中标公告.replace("。","");

        this.withdrawTenderBackMargin = 撤标退还保证金.replace("。","");
        this.placementDisabledPeopleProportion = 安置残疾人比例;

    }
}
